package com.dcc.inventory.servicesimp;

import com.dcc.inventory.entity.Room;
import com.dcc.inventory.mapper.RoomMapper;
import com.dcc.inventory.services.RoomServices;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional
public class RoomServicesImp implements RoomServices {
    @Resource
    RoomMapper roomMapper;
    @Override
    public List<Room> searchRoomAll() {
        return roomMapper.searchRoomAll();
    }
}
